package cn.mineserv.video.videoordersystem.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "media_history")
public class MediaHistory implements Serializable {
    @TableId(value = "history_id", type = IdType.AUTO)
    private Integer historyId;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "media_id")
    private Integer mediaId;

    @TableField(value = "history_time")
    private Date historyTime;

    @TableField(value = "history_media_time")
    private Date historyMediaTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_HISTORY_ID = "history_id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_MEDIA_ID = "media_id";

    public static final String COL_HISTORY_TIME = "history_time";

    public static final String COL_HISTORY_MEDIA_TIME = "history_media_time";
}